import tkinter
x=int(input())
y=int(input())
z=int(input())
if z == 0 and x >= 0 and x <= 500 and y >= 0 and y <= 500:
    pass
else:
    if z > 0 and 0*z+x>=0 and 0*z+y>=0 and 30*z+x<=500 and 20*z+y<=500:
        pass
    else:
        if z < 0 and 30*z+x>=0 and 20*z+y>=0 and 0*z+x<=500 and 0*z+y<=500:
            pass
        else:
            print('Размер фигуры превышает максимальный размер поля')
            exit()
master = tkinter.Tk()
canvas = tkinter.Canvas(master, bg = 'white' , height = 500, width = 500)
canvas.create_polygon((x,y), (10*z+x,y), (10*z+x,10*z+y), (2*10*z+x,10*z+y), (2*10*z+x,y), (3*10*z+x,y), (3*10*z+x,2*10*z+y), (x,2*10*z+y), fill='lime')
canvas.pack()
master.mainloop()
